package com.zzxz.practicaltrainingsys.service;

import com.zzxz.practicaltrainingsys.entity.College;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CollegeService {
    List<College> getCollege();

    // 新增
    boolean addCollege(College college);

    // 根据ID查找
    College getCollegeById(Integer college_id);

    //更新
    public int updateCollege(College college);

    //根据schoolid查找学院

    List<College> getCollegeBySchoolId(Integer school_id);

}